#include <iostream>
#include <fstream>

using namespace std;

int main(int argc, char **argv)
{

char ch[]="hello world";
cout<<ch<<endl;
ofstream fout;
fout.open("data.txt");
fout<<ch<<endl;
fout.close();
return 0;
}

